package com.annotation.factoryBean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: qiuli
 * @date: 2022/1/7 18:28
 * @description:
 */

@Configuration
public class FactoryConfig {
    @Bean
    public ColorFactoryBean colorFactoryBean() {
        return new ColorFactoryBean();
    }

    @Bean
    public Cat cat(){
        return new Cat();
    }
}
